﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using BUS;
using ENTITY;

public partial class Pages_DatMon : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
      
        
    }

    protected void Unnamed1_Click(object sender, EventArgs e)
    {
        string lable;
        string texbox;
        UBusShow show = new UBusShow();
        DataTable dt = show.SearchMonOc(ddl_LoaiOc.SelectedItem.Text, ddl_KichCo.SelectedItem.Text, ddl_chebien.SelectedItem.Text);
        grv_searchoc.DataSource = dt;
        grv_searchoc.DataBind();
        //for (int i = 0; i < n; i++)
        //{
        //    lbl = new Label();
        //    lbl.ID = i.ToString();
        //    lbl.Text = dt.Rows[i].ItemArray[1].ToString();
        //    DatMon.Controls.Add(lbl);
        //}
    }
}
